package hhh.data.net;


import hhh.data.bean.HttpResult;
import hhh.data.bean.User;
import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by Administrator on 2017/6/13 0013.
 */
public interface Api {
    @FormUrlEncoded
    @POST("account/login")
    Observable<HttpResult<User>> login(@Field("user") String user, @Field("password") String password);
}
